<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
    <title>Vite + Vue3 商城App</title>
    <script>
      function setHtmlFontSize() {
        const width = document.documentElement.clientWidth
        const fontSize = 100 * (width / 375)
        document.querySelector('html').style.fontSize = fontSize + 'px'
      }
      setHtmlFontSize()
      window.onresize = function () {
        setHtmlFontSize()
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
